package Nio;

import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;

/**
 * description:
 * author:zcx
 * lenovo
 * 时间：2022.01.20.13.16
 */
public class Nio4 {
    public static void main(String[] args) throws IOException {
        //nio删除文件
//        Files.delete(Paths.get(""));
//        Files.deleteIfExists(Paths.get(""));
        //复制文件
       // Files.copy(Paths.get(""),Paths.get(""));
        //更名移动
        Files.move(Paths.get(""),Paths.get(""));
    }
}
